Add magellanx. Give up on testing some xcsv types.
authorrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Fri, 4 Nov 2005 22:55:20 +0000 (22:55 +0000)
committerrobertl <robertl@f51c46e8-681c-474f-0cfe-069cfd0219fb>
Fri, 4 Nov 2005 22:55:20 +0000 (22:55 +0000)
gpsbabel/testo

index 4998784ee47a2e677d30b5cc99813d3e5b066936..2b85fce8a3fcdb1ea36e080feac03e94693fb305 100755 (executable)
@@ -42,6 +42,17 @@ compare_gpx()
        sed -e '1d' $2 > $TMPDIR/comp_gpx2
        compare $TMPDIR/comp_gpx1 $TMPDIR/comp_gpx2
 }
+
+# Some formats are just too boring to test.   The ones that
+# are xcsv include 
+# garmin301 
+# garmin_poi 
+# gpsdrivetrack
+# nima 
+# mapconverter
+# geonet
+# saplus
+# s_and_t
        
 # Geocaching .loc
 rm -f ${TMPDIR}/gl.loc
@@ -130,10 +141,19 @@ ${PNAME} -i geo -f geocaching.loc -o pcx -F ${TMPDIR}/mm.pcx
 ${PNAME} -i pcx -f ${TMPDIR}/mm.pcx -o gpsutil -F ${TMPDIR}/pcx.gps
 compare ${TMPDIR}/mm.gps ${TMPDIR}/gu.wpt
 
+#
 # Magellan file format
+#
 ${PNAME} -i magellan -f reference/magfile -o magellan -F ${TMPDIR}/magfile
 compare ${TMPDIR}/magfile reference/magfile
 
+#
+# Magellanx is just like, but with longer names. (which this admittedly
+# doesn't actually exercise...)
+#
+${PNAME} -i magellan -f reference/magfile -o magellanx -F ${TMPDIR}/magfile2
+compare ${TMPDIR}/magfile2 reference/magfile
+
 # Navitrak DNA marker format
 ${PNAME} -i dna -f reference/dnatest.txt -o dna -F ${TMPDIR}/dnatest.txt
 compare ${TMPDIR}/dnatest.txt reference/dnatest.txt
@@ -356,6 +376,7 @@ ${PNAME} -r -i magellan -f reference/route/magellan.rte -o magellan \
          -F ${TMPDIR}/magellan.rte
 compare ${TMPDIR}/magellan.rte reference/route/magellan.rte
 
+
 #
 # GPX routes -- since GPX contains a date stamp, tests will always
 # fail, so we use magellan as an interim format...